<?php
/**
 * advType.php
 * -
 * Advanced Type base class for PHP.
 *
 * PHP Version 5.2
 *
 * @package adv-types
 * @author  David M�zi�re <david@meziere.eu>
 * @license http://opensource.org/licenses/mit-license.php
 *
 */

/**
 * advType
 * -
 * Advanced Type base class for PHP.
 * 
 * @author  David M�zi�re <david@meziere.eu>
 * @package adv-types
 *
 */
class advType
{


	protected
		$_value = null;
    
    
	/**
	 * __toString
	 * -
	 * String representation of the advType value.
	 * 
	 * @return String advType value
	 * 
	 */
	public function __toString()
	{
		return (string)$this->_value;
	}
	
	
	/**
	 * __invoke
	 * -
	 * Returns the raw value, permit using the advType as a variable.
	 * 
	 * @return Mixed Instance's value.
	 * 
	 */
	public function __invoke()
	{
		return $this->_value;
	}


}